package com.geostar.constructionland.index.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.geostar.constructionland.index.entity.AddHookIndex;
import com.geostar.constructionland.index.entity.model.AddHookIndexModel;
import com.geostar.constructionland.index.entity.model.InsertAddHookIndexModel;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author df
 * @since 2020-2-4 10:07
 **/
public interface AddHookIndexService {

    @Transactional
    IPage<Map<String,String>> queryAddHookIndexList(AddHookIndexModel addHookIndexModel);


    @Transactional
    int delAddHookIndexByIds( List<String> idList);

    AddHookIndex queryAddHookIndex(String id);
    @Transactional
    int  addOrUpdateAddHookIndex(InsertAddHookIndexModel insertAddHookIndexModel);
}
